package com.quick.develop.flowable.domain.instance;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
/** 
 * @description  
 * @author junyuan.liu
 * @date 2022/8/15 9:37
 */ 

@ApiModel("管理后台 - 流程实例的分页 Item Response VO")
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Data
public class BpmProcessInstancePageItemRespVO implements Serializable {

    private static final long serialVersionUID = -7637651316841302238L;
    
    @ApiModelProperty(value = "流程实例的编号")
    private String processInstanceId;

    @ApiModelProperty(value = "业务唯一编号")
    private String businessKey;

    @ApiModelProperty(value = "流程名称")
    private String name;

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "流程定义的编号")
    private String processDefinitionId;

    @ApiModelProperty(value = "流程定义名称")
    private String processDefinitionName;
    
    @ApiModelProperty(value = "发起者")
    private String startUserId;
    
    @ApiModelProperty(value = "发起者名称")
    private String startUserName;

    @ApiModelProperty(value = "提交时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty("流程实例耗时")
    private Long durationInMillis;

    @ApiModelProperty(value = "租户ID")
    private String tenantId;

}
